package com.pony.mapper;

import com.pony.entity.Goods;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author pony
 * @since 2023-11-16
 */
@Mapper
public interface GoodsMapper extends BaseMapper<Goods> {

    /**
     * 根据typeIds批量查找
     * @param ids
     * @return
     */
    List<Goods> selectListByIds(@Param("typeIds") List<Integer> ids);
}
